[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-14 Thread Martin Hasoň
Hi Denis, I made a similar solution for docker image [minidocks/context](https://hub.docker.com/r/minidocks/context): [https://github.com/minidocks/context/commit/9b3ccc1eb62e556cada29b5b761207a526bca52e](https://github.com/minidocks/context/commit/9b3ccc1eb62e556cada29b5b761207a526bca52e). You

[NTG-context] Re: PDF, runner, and TikZ patches

2024-03-15 Thread Max Chernoff
Hi Aditya, Jim, On Fri, 2024-03-15 at 01:53 +0100, Aditya Mahajan wrote: > On Thu, 14 Mar 2024, Jim wrote: > > were you hoping the ConTeXt distribution would ship its own > > pgfutil-context.def, or were you hoping that someone could convince Henri > > to put the RGB change in? > > We can patch

[NTG-context] PDF, runner, and TikZ patches

2024-03-14 Thread Max Chernoff
Hi all, I've had a few patches applied to my installation for a little while now, so I figured that I should send them in. There's a diff at the end of the email, and the modified files are attached [but rejected by the mailing list, so sent separately to Hans] * In the definition of

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-13 Thread Max Chernoff
Hi Hans, On Tue, 2024-03-12 at 15:21 +0100, Hans Hagen wrote: > the next upload will support the attached ... so no ugly hacky code needed "\texthere[inbetween]" looks perfect, thanks! The "\definebar[...][inlined]" doesn't look quite right though -- the issue that I'm having is that I can't

[NTG-context] Re: LuaMetaTeX code

2024-01-19 Thread Henri Menke via ntg-context
On Fri, 2024-01-19 at 13:56 +0530, Shiv Shankar Dayal wrote: > Dear Hans, > > I saw the C code of LuaMetaTeX and I saw a lot of gotos which is not > good > coding practice. These potions of code which have goto should be > refactored. https://xkcd.com/292/ > I am a C programmer, but I know very

[NTG-context] Re: Different behavior of \clf_lastypos vs \clf_lastxpos

2023-09-17 Thread Max Chernoff
Hi Aditya, > For some reason, there is an extra \relax written to file after > `\the\numexp\clf_lastypos\relax` (there is no such relax after > `\the\numexpr\clf_lastxpos\relax`). The test.pgf file is: > > \macro {A}{23930350}{43358454.0\relax } \macro {B}{39564274.0\relax > }{14083538} > >

[NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread Max Chernoff
Hi Julian, > I am attempting to get a TOC that looks like the following (in other > words with section titles and their relative page numbers in a block > below the chapter): > Has > anyone put together a TOC of this kind and might be able to give me a > hint to follow? This is fairly

[NTG-context] Re: Fallbacks for design sizes in the current typescripts regime

2023-08-22 Thread Vincent Hennebert
On Tue, 2023-08-22 at 15:45 +, Hamid,Idris wrote: > On Aug 22, 2023, 2:06 AM -0600, Hans Hagen via ntg-context cont...@ntg.nl>, wrote: > > On 8/22/2023 6:31 AM, Hamid,Idris wrote: > > I'm not going to look into this until there is a complete test case > > for > > this which means: > > > > -

[NTG-context] Re: Optical scaling in Latin Modern

2023-08-17 Thread Vincent Hennebert
On Tue, 2023-08-15 at 18:22 +0200, Hans Hagen wrote: > On 8/15/2023 5:33 PM, Hamid,Idris wrote: > > > > so [\s!designsize=\s!auto] means there is no explicit call to lmroman8-regular etc.? Interesting.. > > > check the lfg file ... On that note, there seems to be an inconsistency in the

[NTG-context] How to override parts of a typescript

2023-08-11 Thread Vincent Hennebert
Say I want to use the Adobe Source font family in my document. They are installed on my system, but the file names are different to what’s in the typescript file provided with the ConTeXt distribution. If I do this: \starttypescript [serif] [source] [name] \definefontsynonym [Serif]

[NTG-context] lpdf.registerfontmethod

2023-07-06 Thread Max Chernoff
Hi Hans, In lpdf-emb.lmt, there's a commented-out definition of lpdf.registerfontmethod that I'd like to use. I've uncommented this in my installation and it's worked pretty well for me, so can you please uncomment/enable this by default in the distribution? If you want further background, this

Re: [NTG-context] Super slow installation

2023-05-30 Thread Max Chernoff via ntg-context
Hi all, I think that this is all resolved now, but if not, maybe this extra info will help? I'm using this script to test: #!/bin/sh for x in \ "https://speed.cloudflare.com/__down?bytes=$(echo '50*1024^2' | bc)" \

[NTG-context] Can ConTeXt write its pdf to a different directory?

2023-05-26 Thread Max Chernoff via ntg-context
Hi Peter, > My .tex file is in a directory within my working directory. I would like > ConTeXt to write its output in the same directory as my .tex file. But it > writes to the working directory. > > This was asked 10 years ago: >

[NTG-context] Noto Emoji COLRv1

2023-05-23 Thread Max Chernoff via ntg-context
Hi Hans, I tried using the code from [1] for Noto Emoji in COLRv1 format [2]: \startTEXpage \definefontfeature[colored][default][colr=9] \definedfont[Noto-COLRv1.ttf*colored] 閭 % U+1F986 \stopTEXpage but ConTeXt gives the following error: fonts > otf loading >

Re: [NTG-context] SVG ViewBox figure battle

2023-05-20 Thread Max Chernoff via ntg-context
Hi, > Any ideas on how to force that setting without modifying grph-con.lua? This seems to work: \startluacode function figures.converters.svg.pdf(oldname, newname) figures.programs.inkscape.runner { format = "filename", resolution = "600", crop

Re: [NTG-context] LuaMetaTeX doesn't find files when symlinked

2023-04-28 Thread Max Chernoff via ntg-context
Hi Lynx, > Today, I created a separate "user command" within TeXstudio, and it > points to "/usr/local/ConTeXt_Standalone/context-linux-64/bin/mtxrun" > This command generates the same log output as the example at > https://gitlab.com/islandoftex/images/texlive/-/issues/30. This is probably

[NTG-context] LuaMetaTeX doesn't find files when symlinked

2023-04-27 Thread Max Chernoff via ntg-context
Hi Hans, With the LuaMetaTeX-based ConTeXt wrapper, it's not generally possible to run ConTeXt from a symlinked binary in another directory. This shows up if someone makes symlinks in "/usr/bin" so that they can avoid adding anything to their $PATH. If you make run a symlink to the

Re: [NTG-context] update

2023-04-27 Thread Max Chernoff via ntg-context
Hi Lynx, > * How can I be sure that the standalone version is the one being > implemented? It depends on what your $PATH is set to. On Linux/macOS, you can run $ type -ap context to list all the ConTeXts in your $PTAH. The first one in that list is the one that will be ran by

Re: [NTG-context] update

2023-04-26 Thread Max Chernoff via ntg-context
Hi Lynx, Aditya, > > New to conTeXt, have not performed a specific update prior to this. > > > > My conTeXt installation is part of TeXlive-2023 (under Linux OS). Will > > the updates to ConTeXt be handled by tlmgr ? > > No. Usually, texlive updates context once a year. This is correct in

[NTG-context] attempt to index nil value with bidi math in hbox

2023-04-02 Thread Max Chernoff via ntg-context
Hi Hans, This test file: \setupdirections[bidi=global,method=one] \starttext \hbox{$\varepsilon$-TeX} \stoptext gives the following error: callback error: ...ext/tex/texmf-context/tex/context/base/mkxl/typo-duc.lmt:618: attempt to index a nil value (local 'before')

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-04-02 Thread Max Chernoff via ntg-context
Hi Xavier, On Sun, 2023-04-02 at 11:00 +, Xavier B. wrote: > Max, when I use context minimals, I get: > > modules > 'pgfrcs' is not found > modules > 'pgfmat' is not found > modules > 'tikz' is loaded > open source > level 3, order 4, name >

Re: [NTG-context] characters.tex.toutf bug

2023-03-30 Thread Max Chernoff via ntg-context
Hi Hans, > it is more side effect of removing the (declared obsolete some years > ago) `` '' input which catched it later > > i tend to remove > > for k, v in next, ligaturemapping do > hash[k] = v > end > > in favor of an explicit 'tquo' feature that one can

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-30 Thread Max Chernoff via ntg-context
Hi Xavier, > During the texlive package, I get this error: > I simply run context to this file: > > \usemodule[tikz] > > \starttext > {\bf a} \tikz (0,0) -- (1,0); > \stoptext > So, the problem is not the package or the distro, it's something more > basic which causes the error. Someone else

[NTG-context] characters.tex.toutf bug

2023-03-29 Thread Max Chernoff via ntg-context
Hi Hans, "characters.tex.toutf" only works if there is a backslash somewhere in its input string. This leads to some really surprising behaviour in the following example: \definefontfeature[default][tlig=no, trep=no] \startbuffer[test-bib] @article{one, author =

Re: [NTG-context] [m-database] How to properly add module arguments?

2023-02-26 Thread Max Chernoff via ntg-context
Hi Paul, > I added a stanza to the appropriate interface file: > > --- begin stanza added to i-database.xml --- > > I modeled that after the stanza for the argument `strip`. I think > that's the only thing I need to do in the interface file. I'd recommend completely ignoring the interface

Re: [NTG-context] pgfplots module wrecks in latest

2023-01-16 Thread Henri Menke via ntg-context
On Mon, 2023-01-16 at 11:56 -0500, Aditya Mahajan wrote: > > On Mon, 16 Jan 2023, Hans Hagen via ntg-context wrote: > > > just load tikz first so that the right loader helpers are there > > > > \usemodule[tikz] > > \usemodule[pgfplots] > > > > \starttext > > Hello > > \stoptext > > > > seems

[NTG-context] Unwanted space with \startframedtext

2022-12-21 Thread Max Chernoff via ntg-context
Hi Hans, There's an uncommented linebreak in the definition of \pack_framed_text_start that's introducing an unwanted space just before \startframedtext. Minimal example: \showmakeup[space] \starttext \hbox{.\startframedtext.\stopframedtext} \stoptext Patch: ---

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Richard Mahoney | Indica et Buddhica via ntg-context
Alan, I'm attaching the two master files used for the following (also ran cross refs between each vol.): Murugaiyan, Appasamy & Parlier-Renault, Édith (2021) (Eds) Whispering of Inscriptions: South Indian Epigraphy and Art History: Papers from an International Symposium in memory of Professor

Re: [NTG-context] Achieving different \cite styles

2022-12-09 Thread Max Chernoff via ntg-context
Hi Jethro, > I am interested in being able to cite in different ways. By analogy, I > refer to the \texcite{}, \parencite{} and other options available with > biblatex in LaTeX. How do I achieve something like \textcite{} in > ConTeXt? Page 34 of the publications manual lists the various

Re: [NTG-context] thousand separator space

2022-11-21 Thread Max Chernoff via ntg-context
Hi Jan, > Why is there an additional space after the thousand separator in math mode? Because something like ${\mathbb N} = \{1,2,3,4,\dots\}$ would look quite bad without any space between the numbers. (The technical reason is that commas have the math class \mathpunct, meaning that

[NTG-context] Font expansion enabled by default with the latest upload

2022-11-21 Thread Max Chernoff via ntg-context
Hi Hans, Font expansion (hz) seems to be enabled by default with the latest upload. If I compile this document locally with ConTeXt "2022.11.18 13:22": \showframe % \definefontfeature[default][default][expansion=quality] % \usetypescript[modern-base] %

Re: [NTG-context] how to simulate \hss in luametatex?

2022-11-11 Thread Max Chernoff via ntg-context
Hi, > I want to simulate \hss in lua end in ConTeXt/luametatex environment. > For example, > > ```ConTeXt > a{\raise 1.5ex\hbox to 0pt{\hss b}}c > ``` > And in lua, I do as follows(part of my app seen in attachment): Your code doesn't compile as is. I think that this is the same thing

[NTG-context] node.setglue broken in LuaMetaTeX

2022-11-07 Thread Max Chernoff via ntg-context
Hi Hans, Using node.setglue in LuaMetaTeX sets all of the glue components to zero. This example: \startluacode local stretch_order = "stretch_order" local shrink_order = "shrink_order" if status.luatex_engine == "luametatex" then stretch_order = "stretchorder"

[NTG-context] "true" units in LuaMetaTeX

2022-10-27 Thread Max Chernoff via ntg-context
Hi Hans, The unit scanner in LuaMetaTeX fails for any of the "true" dimensions.  With this test file: \starttext \vrule width 1truein height 1pt depth 0pt\relax \vrule width 1in height 1pt depth 0pt\relax \stoptext I get this output: tex error > tex error on

Re: [NTG-context] Missing parinitskips in \normalizelinemode=0

2022-10-26 Thread Max Chernoff via ntg-context
Hi Hans, > i'll bypass that warnign when the mode is zero I saw that you made that change in the latest upload, thanks. Unfortunately, I'm still getting the same output: luatex warning > linebreak: list seems already prepared luatex warning > linebreak: [ leftinit | rightinit |

[NTG-context] Missing parinitskips in \normalizelinemode=0

2022-10-18 Thread Max Chernoff via ntg-context
Hi Hans, When running in \normalizelinemode=0, the \parinitleftskip and \parinitrightskip nodes are either nonexistant or invisible from Lua, causing tex.linebreak to not work correctly. This sample file: \enabledirectives[system.callbacks.permitoverloads] \normalizelinemode=0

Re: [NTG-context] issues with current latest

2022-10-14 Thread Max Chernoff via ntg-context
Hi Alan, On Fri, 2022-10-14 at 16:20 -0600, Alan Braslau wrote: > On Fri, 14 Oct 2022 15:38:52 -0600 > Max Chernoff via ntg-context wrote: > > >$ context --luatex test.tex >mtx-context | redirect luametatex -> luatex: luatex --luaonly >

Re: [NTG-context] issues with current latest

2022-10-14 Thread Max Chernoff via ntg-context
Hi Pablo, > I’m afraid that I cannot make latest from 2022.10.14 10:16 with LuaTeX. > > I’m on Linux64. I've got the same configuration and I'm getting the same results: $ context --luatex test.tex mtx-context | redirect luametatex -> luatex: luatex --luaonly

Re: [NTG-context] How to make something appear to the right of every paragraph?

2022-10-13 Thread Max Chernoff via ntg-context
Hi Joel, > When I use the code given, it compiles and displays fine. But when I > try replacing \everypar with \EveryPar, it halts during compiling It looks like \EveryPar is a macro and not a token list. > These both work great, but do that for the whole document? Is there a > way to restrict

Re: [NTG-context] atan2 function

2022-10-13 Thread Max Chernoff via ntg-context
Hi, > How is atan2 called? I rolled my own as follows: > Is atan with two parameters supposed to behave like atan2? At mp-math.mpxl:167 there is: vardef atan primary x = angle(1,x) enddef ; The MetaPost manual says: The angle operator takes a pair and computes the

Re: [NTG-context] LMTX generates PDFs with non-working fonts on real printers

2022-10-11 Thread Max Chernoff via ntg-context
Hi Leah, > > Leah and I are zooming in on the issue. It might relate to wrong font > > matrix default behavior in the pdf printer driver, and GS got a fix > > for that long ago, so maybe old printers with not-updated drivers can > > be affected. > > > > Once we're confident that we can catch it

Re: [NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip

2022-10-10 Thread Max Chernoff via ntg-context
Hi Tommaso, > I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey and > Apple M2 chip) but at the end of the installation the ConTeXt-MkIV folder > (where I install Standalone) on the disk weighs only 7MB (the tex tree is > created, but its folders are empty). > I've never

Re: [NTG-context] How to make something appear to the right of every paragraph?

2022-10-10 Thread Max Chernoff via ntg-context
Hi Joel, > I'd like to add some area for readers to write in the margins of some > text. This would leave three lines, like this to the right of the > text. Is it okay if there are rules continuously down the right column? If so, this is fairly simple to do with layers/backgrounds + MetaFun.

Re: [NTG-context] Spacing in \unit

2022-10-10 Thread Max Chernoff via ntg-context
Hi Alan, > I would very strongly argue that the space between the number and the > following units be UNBREAKABLE. Perhaps a thin space (preference), but > most certainly non-breakable. > > Similarly around the times in scientific notation. > > I further cannot imagine that a line break be

Re: [NTG-context] LMTX generates PDFs with non-working fonts on real printers

2022-10-09 Thread Max Chernoff via ntg-context
Hi all, > I use LuaMetaTeX 2.10 20220918 + ConTeXt LMTX 2022.09.11. > > Here's a tiny test document, I disabled PDF compression but it also > doesn't work with the default settings. > > \setupbackend[level=0,compresslevel=0] > \starttext > Just a line of text. > \stoptext > > When I print

Re: [NTG-context] Apostrophe entity using \xmltexentity is ignored

2022-10-08 Thread Max Chernoff via ntg-context
Hi, > Has the handling for the apostrophe character entity changed recently? > > In the following example, the \xmltexentity for apostrophe is ignored, > resulting in a straight apostrophe instead of a curled one: > Any ideas on how to fix it? (see also

Re: [NTG-context] floats disturb grid setting

2022-10-03 Thread Max Chernoff via ntg-context
Hi Hraban, > > As soon as I use floats, text isn’t typeset on the grid any more: > > > > > > \setuppaper[A5] > > \setuplayout[grid=yes] > > \showframe\showgrid > > Oops, my bad: It must be "grid=on". > But didn’t work "yes" in earlier versions? I just tested: MkIV MkXL

Re: [NTG-context] Fwd: [CG Wiki] ConTeXt with VS Code (https://wiki.contextgarden.net/VSCode)

2022-10-03 Thread Max Chernoff via ntg-context
Hi Taco, Michal, > > > > > /home/qasar/Stažené/cont/tex/texmf-context/context/data/vscode/extensions/context/node_modules/vsce/out/package.js:136 > > > return (translations ?? []) > > > ^ That's the "Nullish coalescing operator", which MDN says is only available in

Re: [NTG-context] Suboptimal German hyphenation

2022-09-28 Thread Max Chernoff via ntg-context
Hi Leah, > I was typesetting some German text on a narrow page when I discovered > the justification wasn't as good as expected. I think I tracked this > down to differences in hyphenation points, namely, ConTeXt has fewer: > > \starttext > \language[de] > \showhyphens{Zusammenhang} >

Re: [NTG-context] new hash for buffer (as file)

2022-09-26 Thread Max Chernoff via ntg-context
Hi Hans, Pablo, > > But I do agree that the line ending handling seems a little odd. I find it > > surprising that the buffers internally use CR line endings since no systems > > in the past 20 years use that. > > how about tex ... > > \number\endlinechar > \number\numexpr`M-`A+1\relax % plain

Re: [NTG-context] new hash for buffer (as file)

2022-09-22 Thread Max Chernoff via ntg-context
Hi Pablo, > I mean, to get hash of the file attached to the document, I need to save > the buffer for "context(utilities.sha2.hash256(io.loaddata(buffer)))". > > But I don’t need to save the buffer to attach it to the PDF document. > > My question is how to define \shabufferfile to avoid

Re: [NTG-context] cannot update ConTeXt to 2022.09.16

2022-09-20 Thread Max Chernoff via ntg-context
Hi Pablo, Otared, > On 9/19/22 18:23, Otared Kavian via ntg-context wrote: > > Hi Pablo, > > > > I had the same issue and, as this was discussed a few years or months > > ago, after removing the three files with extension « .tma » the > > update goes through normally.> On my machine, running

[NTG-context] LuaMetaTeX insert nodes patch

2022-09-16 Thread Max Chernoff via ntg-context
Hi Hans, I see that you've released the LuaMetaTeX source code, yay! I'm really impressed with how easy it is to build, and with how quickly it builds. Can you please apply this patch to the LuaMetaTeX source code: diff

Re: [NTG-context] Latest ConTeXt won't "--make"

2022-09-14 Thread Max Chernoff via ntg-context
Hi Mikael, > I don't see this problem with the latest. Moreover, I think the > version of luametatex was pushed to 2.10, so there might be a > mis-match in your case. I hope it helps. I just tried updating again, and it says that I'm up to date, but: $ luametatex --version This is

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-14 Thread Max Chernoff via ntg-context
Hi Steffen, > … \replaceword should be the correct way for proper hyphenation?? Well I'm not sure if it's "correct", but it seems to work. Based on my testing, having three subsequent sets of groups ({A}{B}{C}) is converted to a discretionary. The discretionary hyphen "\-" is equivalent to the

[NTG-context] Latest ConTeXt won't "--make"

2022-09-14 Thread Max Chernoff via ntg-context
Hi all, I've just updated to the latest ConTeXt, but I'm unable to make the format: $ context --make resolvers | resolving | configuration files already identified resolvers | resolving | loading configuration file 'selfautoparent:/texmf/web2c/texmfcnf.lua' [...]

Re: [NTG-context] No error when loading a non-existent module

2022-08-26 Thread Max Chernoff via ntg-context
On Fri, 2022-08-26 at 07:40 +0200, Hans Hagen wrote: > On 8/26/2022 3:00 AM, Max Chernoff wrote: > > Is there a way to make this produce a nice little "error" PDF as soon as > > the error occurs just like using "\undefined" does? > > Only If I add it as option (directive driven, must find some

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-22 Thread Max Chernoff via ntg-context
Hi Amano, > Wuh. That's a bit complex. Not really. From a user perspective, all that you need to run is make install From a developer perspective, this is essentially just the base ConTeXt files, a modified texmfcnf.lua, and a fairly basic makefile. > For distribution packages that

Re: [NTG-context] Color property of \setupurl

2022-08-20 Thread Max Chernoff via ntg-context
Hi, > Could someone clarify me in what kind of context the color of a > hyperlink is controlled by the "color" property of \setupurl? This code: \show\setupurl \showthe\everysetupurl produces: > \setupurl=frozen protected macro: [#1]->\ifarguments \or

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-17 Thread Max Chernoff via ntg-context
> Hi Amano(?), Hans > > Can you make it easier to make an OS package for ConTeXt LMTX by > > releasing versioned (source) archives, including BUILD/INSTALL > > instructions in the versioned archives, and so on? I wish I could just > > extract a versioned binary archive into certain locations or

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-15 Thread Max Chernoff via ntg-context
Okay, I'm seeing a few separate issues here. 1. Gentoo expects to compile everything from source. This isn't an option here since LuaMetaTeX doesn't have any source available (yet). So for the time being, you'll need to use the provided binaries. These support pretty much every

[NTG-context] Accessing inserts from Lua in LuaMetaTeX

2022-08-15 Thread Max Chernoff via ntg-context
Hi all, I'm trying to manipulate some inserts from Lua in LuaMetaTeX, and I'm having some problems that I'm not having with LuaTeX. First, how do I get an insert's class/type from the "insert" nodes on the page? With LuaTeX, the insert's class/type is the same as the subtype of the "ins" nodes,

[NTG-context] Can't manipulate glue added by tex.preparelinebreak

2022-07-26 Thread Max Chernoff via ntg-context
Hi Hans, The new tex.preparelinebreak is great (thanks again), but I can't seem to figure out how to manipulate the parfillskip nodes that it adds. MWE: \newbox\testbox \startluacode function test(head) if head.id ~= node.id "par" then return head

[NTG-context] Metafun hexagons aren't hexagons

2022-07-20 Thread Max Chernoff via ntg-context
Hi, The recently added Metafun hexagons seem to be producing octagons instead: \startMPpage fill fullhexagon scaled 100; draw unithexagon scaled 50 withcolor white; \stopMPpage -- Max ___ If

Re: [NTG-context] Microtipography

2022-05-25 Thread Henri Menke via ntg-context
On Wed, 2022-05-25 at 15:51 +0200, Tommaso Gordini via ntg-context wrote: > Hello list, > > here and there on the Net there are slightly different ways to > activate the > microtypography functionality in a ConTeXt document. > >  My question is: what is the most correct and clean way to do it?

Re: [NTG-context] Rendering Standalone MetaPost Graphics with ConTeXt

2022-05-19 Thread Vincent Hennebert via ntg-context
On Thu, 2022-05-19 at 14:23 +0530, śrīrāma wrote: > On 5/19/22 1:53 PM Vincent Hennebert via ntg-context wrote: > > Looking at the wiki, it seems that \startMPinclusions is not meant > > to > > actually render any content, just to include MetaPost code like > > function definitions. I guess I

Re: [NTG-context] Crediting copyright on photographs

2022-05-05 Thread Richard Mahoney via ntg-context
Bruce, I tend to do something such as the following: \startplacefigure[reference={fig:0007},location={here},title={{\it Vīkṣya}, 5b},list={Ch.\ {\sc ix}\TI {\it Vīkṣya}, 5b}] \externalfigure[plates/01-09/01-09-07- c.jpg][scale=1000,frame=off,equalwidth=325pt] {{\NI}{\tfx \copyright\ 2012

[NTG-context] Issue in btx rendering

2022-05-04 Thread śrīrāma via ntg-context
Hi, [my current version: 2022.05.02 16:19] With the past two-or-so uploads, btx output seems to be broken in some cases. Compiling the below example \usebtxdataset[refs.bib] \usebtxdefinitions[aps] \starttext This reference has a tag which is in camel-case: \cite

Re: [NTG-context] Need some hints to fix my standalon installation

2022-04-20 Thread Christoph Hintermüller via ntg-context
Hi Hans [Inline Response to message by Hans Hagen via ntg-context, Mi, 2022-04- 20 19:18 +0200: Answers and comments below corresponding cited paragraphs.] > We had to adapt the lfg file for lm (other fonts are ok) so i'll make > an > update. > > If you're in a hurry, in lm.lfg: > >

[NTG-context] Need some hints to fix my standalon installation

2022-04-20 Thread Christoph Hintermüller via ntg-context
Hi Have updated my standalone installation from one of the 2020 releases to the latest one running ./first-setup.sh --context=latest --modules=all Now i see the strange behavior that fraction in second equation is not typeset instead typesetting math aborts after typesetting the upper part of

Re: [NTG-context] Few quick questions

2022-03-09 Thread Christoph Hintermüller via ntg-context
Sorry for multi posting. Had yesterday a problem with my mail system and was not sure if mail was sent at all. On Tue, 2022-03-08 at 21:26 +0100, Marco Patzer via ntg-context wrote: > On Tue, 08 Mar 2022 20:45:17 +0100 > Christoph Hintermüller via ntg-context wrote: > > > Hans indicated a

[NTG-context] Few quick questions

2022-03-08 Thread Christoph Hintermüller via ntg-context
Hi I'm still stuck with also providing my lecture notes as epub in addtion to its PDF version. The last year, when I tried figure what is wrong, Hans indicated a tool, a program, which allows to verify that that all start* stop* tag pairs are symmetric and placed in correct order. I just cant

[NTG-context] LMTX | (.\) at end of line causes fatal error

2022-03-05 Thread Richard Mahoney via ntg-context
Something I've noticed for a little while now, although it may be long standing, I'm not sure. If one ends some of the lines in the input files with a full stop (.) and a back slash (\) then LMTX will fail to compile with a fatal error. The only way to recover is to go through each of the files

Re: [NTG-context] LMTX-latest | SciTE 5.1.6 --- 5.2.1 | Not working with tex/texmf-context/context/data/scite

2022-03-03 Thread Richard Mahoney via ntg-context
Thank you for this Hans. Best, Richard -- T +6433121699  M +64210640216 rmaho...@indica-et-buddhica.org https://indica-et-buddhica.org/ Indica et Buddhica Littledene  Bay Road  Oxford  NZ NZBN: 9429041761809 -Original Message- From: Hans Hagen via ntg-context Reply-To: mailing

[NTG-context] LMTX-latest | SciTE 5.1.6 --- 5.2.1 | Not working with tex/texmf-context/context/data/scite

2022-03-02 Thread Richard Mahoney via ntg-context
[Gentoo] I've found that the config included with LMTX in: tex/texmf-context/context/data/scite does not work with SciTE 5.1.6+ The latest version that seems to be working is SciTE 5.1.5. Version 5.1.5 Scintilla: 5.1.4 Lexilla: 5.1.3 compiled for GTK:3.24.29 Nov 14 2021 12:15:50 Is anyone

Re: [NTG-context] new upload

2022-01-22 Thread Richard Mahoney via ntg-context
Thank you Kauśika, these details are v. helpful. Best, Richard -- T +6433121699  M +64210640216 rmaho...@indica-et-buddhica.org https://indica-et-buddhica.org/ Indica et Buddhica Littledene  Bay Road  Oxford  NZ -Original Message- From: kauśika via ntg-context Reply-To: mailing

Re: [NTG-context] Reset environment between MetaPost graphics?

2022-01-21 Thread Vincent Hennebert via ntg-context
On Thu, 2022-01-20 at 15:47 +0100, Hans Hagen via ntg-context wrote: > On 1/20/2022 3:26 PM, Aditya Mahajan via ntg-context wrote: > > > AFAIK, there is no in-built support for this. > > FYEO: > > \starttext > > \startMPcode > u = 123; > \stopMPcode > >

[NTG-context] Reset environment between MetaPost graphics?

2022-01-20 Thread Vincent Hennebert via ntg-context
Hi, Say I’m writing a document containing many independent MetaPost figures. I don’t want to bother with enclosing each and every graphics in a ‘begingroup...endgroup’ with the appropriate ‘save’ statement. But I don’t want variables from previous graphics to leak into following ones either.

[NTG-context] how to place getmarking[title] in header instead of getmarking[chapter]

2022-01-04 Thread juh via ntg-context
Hi all, I know how to put the current chapter in the header. But how can I also put the value of \starttitle in the header. In this mwe the \starttitle command does not modify the header. Is it possible to do something like: \getmarking[chapter or title] I cannot include

Re: [NTG-context] startlines with long lines that break and indent

2021-12-27 Thread juh via ntg-context
Rik, Wolfgang – thanks a lot. So simple. I wikified it. juh ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] startlines with long lines that break and indent

2021-12-26 Thread juh via ntg-context
Hi all, I am looking for a way to make startstoplines likes this: This is a long line that breaks, the second line, the third line. So if a line in the poem is too long it shall break and indent. TIA juh ___

Re: [NTG-context] Syntax highlighting using LMTX

2021-12-02 Thread Henri Menke via ntg-context
On Thu, 2021-12-02 at 12:07 -0500, Aditya Mahajan via ntg-context wrote: > On Thu, 2 Dec 2021, Thangalin via ntg-context wrote: > > > Hi all, > > > > There are a few technical hurdles with using the t-vim module in > > LMTX. > > First, users need to install the module using externally defined >

[NTG-context] Using old fonts

2021-11-18 Thread Gérard Milmeister via ntg-context
Using old fonts Around 2000 I acquired a collection of fonts, mostly Type 1 and some TrueType. As it appears they are not fully usable in ConTeXt. The two main issues are: 1. Kerning and ligatures These features can be only be used, if the GPOS and GSUB tables are present and adequately filled.

Re: [NTG-context] Emojis showing up in black instead of colours

2021-11-15 Thread Vincent Hennebert via ntg-context
On Fri, 2021-11-12 at 23:00 +0100, Pablo Rodriguez via ntg-context wrote: > On 11/12/21 7:08 PM, Vincent Hennebert via ntg-context wrote: > > Hi there, > > > > freshly upgraded LMTX installation. TwemojiMozilla.ttf downloaded > > from > > GitHub [1]. > > [...] > > gives me pages of emojis, all

Re: [NTG-context] Does the ConTeXt distro come with a PDFViewer?

2021-10-09 Thread Henri Menke via ntg-context
On Sat, 2021-10-09 at 18:47 +0200, Hans Hagen via ntg-context wrote: > On 10/9/2021 3:07 PM, Ramkumar KB via ntg-context wrote: > > Hello Community, > > > > If my memory serves me correctly, I might have noticed (in one of the > > presentations during the recent ConTeXt meeting) that the distro >

Re: [NTG-context] running tikz

2021-09-30 Thread Henri Menke via ntg-context
On Thu, 2021-09-30 at 11:57 +0200, Alain Delmotte via ntg-context wrote: > Hi! > > I would like to use tikz to benefit of the package "pgf-soroban" I > did write for LaTeX (after adapting it and before, later, to > translate it to metapost). > > I did try the sample program from the tikz manual,

Re: [NTG-context] Control of Titles appearing in \completelistoftables and \completelistoffigures

2021-08-25 Thread Richard Mahoney via ntg-context
Brilliant, just what was needed. Thank you. Richard -- T +6433121699  M +64210640216  E rmaho...@indica-et-buddhica.org IM https://t.me/rmahoney  W https://indica-et-buddhica.org/ Indica et Buddhica  Littledene  Bay Road  Oxford  NZ -Original Message- From: Taco Hoekwater To:

Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Henri Menke via ntg-context
On Mon, 2021-08-23 at 16:46 +0200, Thierry Horsin via ntg-context wrote: > Hi everybody. > > I wonder how does math.random() work in context. I found that this > subject was discussed more than ten years ago by Otared and Taco and > Thomas. It is clear to me how to obtain new results upon

Re: [NTG-context] PDF forms not creating proper children

2021-06-09 Thread Leonard Janis Robert König
On Wed, 2021-06-09 at 16:41 +0200, Pablo Rodriguez wrote: > On 6/8/21 11:07 PM, Leonard Janis Robert König wrote: > > On Tue, 2021-06-08 at 17:41 +0200, Pablo Rodriguez wrote: > > > [...] > > > Try to open a PDF document signed with mupdf-gl in Acrobat > > > (Reader or > > > not). You will see

Re: [NTG-context] PDF forms not creating proper children

2021-06-09 Thread Leonard Janis Robert König
On Tue, 2021-06-08 at 23:29 +0100, Adam Reviczky wrote: > Not sure how good it is, but in the poppler discussion this site was > mentioned to verify the signature details: > https://validator.docusign.com/ > > I have tried using with poppler's pdfsig and Okular. > Oh, that's a great tool,

Re: [NTG-context] PDF forms not creating proper children

2021-06-08 Thread Leonard Janis Robert König
On Tue, 2021-06-08 at 17:41 +0200, Pablo Rodriguez wrote: > On 6/7/21 10:43 PM, Leonard Janis Robert König wrote: > > Hi Adam, Hi Pablo, > > > > I just noticed your replies, sorry for the late answer! > > > > I could sign forms with both okular as well as mupdf just fine, > > although the

Re: [NTG-context] Can't find `t-pgf.tex` and `pgflibrarypgfplots.contourlua.code.tex`

2021-06-08 Thread Leonard Janis Robert König
Hello Gavin, On Mon, 2021-06-07 at 18:04 -0600, Gavin wrote: > Tik-Z files seem to have gone missing in the ConTeXt. Here’s a MWE: > > \usemodule[tikz]% Error in current MkIV and LMTX, but > OK in TeX Live 2021 > \usemodule[pgfplots]% Error in Tex Live 2021 > \starttext >

[NTG-context] PDF forms not creating proper children

2021-04-23 Thread Leonard Janis Robert König
Hello, I currently try to build a document with AcroForms, e.g., the examples from [1] also linked in the Wiki. The most recent example is in the form/ subdirectory and dated mid 2020. However, when building the file(s) with my ConTeXt distribution the file created is broken, in comparison to

Re: [NTG-context] Running a couple of context statements in a linux bash shell heredocument?

2021-04-01 Thread Henri Menke
On Thu, 2021-04-01 at 16:23 +0200, Alexander Rosenstock wrote: > Hi all, > > is it possible running a couple of context statements as a > heredocument integrated in a - for example linux bash - shellscript? > Do you have any experience or idea or alternative solution? > This will work, but

[NTG-context] Chemical reaction formulas

2021-03-17 Thread David van Diepen
Dear list, According to the information on contextgarden (section chemistry) chemical reactions should be entered as follows: \usemodule[chemic] \startformula \chemical{CaCO_3(s),+,HCl(g),->,CaCl(HCO_3)(s)} \stopformula That produces a formula with the comma's in it, so that's not good. If I

[NTG-context] Fwd: Re: LMTX 2021.03.02 | cross reference to an external file | \pagereference

2021-03-04 Thread Richard Mahoney
Wolfgang [and Hans ], I'm attaching a minimal(ish) example of a project structure with a call to \pagereference. One can see from the output of master000.tex that the cross references to an external file all work, *apart* from the call to \pagereference. (This is the same issue that I am having

Re: [NTG-context] LMTX 2021.03.02 | cross reference to an external file | \pagereference

2021-03-04 Thread Richard Mahoney
Thanks Wolfgang, Hans kindly sent me a simple minimal. I've adjusted it to include a call to \pagereference and it works. I'm currently trying to test my project to see why my own calls to \pagereference do not result in any output, despite the fact that all the calls to the reference ids in

[NTG-context] Genealogy and context

2021-02-28 Thread David van Diepen
Hello, My son is very much interested in genealogy. He already has collected information on thousands of people. Now it would be nice to be able to present this information in the form of a book. There is a possibility to have this done by a commercial service, however then it's not possible to

Re: [NTG-context] Help figuring why long document stops short in xml export

2021-02-24 Thread Christoph Hintermüller
On Wed, 2021-02-24 at 15:49 +0100, Taco Hoekwater wrote: > > On 24 Feb 2021, at 10:42, Christoph Hintermüller < > > christ...@out-world.com> wrote: > > > > Hi > > What command line parameters, trackers etc I should activate when i > > There is > > \enabletrackers[export.*] > Thanks. Not

[NTG-context] [Solved] Fwd: lmtx-20210118 | Corruption with rotated floats

2021-02-01 Thread Richard Mahoney
I've just updated the system to LMTX-20210201 and have found that this has been resolved -- \placetable[here,90] is back again! Thank you very much for this. Best, Richard Forwarded Message From: Richard Mahoney Reply-To: Richard Mahoney , mailing list for ConTeXt users To:

  1   2   3   4   5   6   7   8   9   10   >